<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<%@ taglib uri="/secu" prefix="secu"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>欢迎访问产品运营互动中心！</title>
		<%@ include file="/commons/include/head-meta-report.inc.jsp"%>	
	</head>

	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
		<form name="applyForm" action="newBusinessReq_toChange.action"
			method="post" enctype="multipart/form-data">
			<input type="hidden" id="isCommitId" name="isCommit" value="" />
			<input type="hidden" name="flowTaskId" value="" />
			<input type="hidden" name="procInstIdS" value="792" />
			<input type="hidden" name="reqId" value="${reqId }" />
			<input type="hidden" name="ttype" value="${type }" />
			<table width="980" border="0" cellspacing="0" cellpadding="0"
				align="center">
				<tr>
					<td>
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							background="<s:url value="/images/new/gxzl_index_2.gif"/>">

							<tr>
								<td width="20" height="32">
									&nbsp;
								</td>
								<td width="20">
									<img src="<s:url value="images/new/dq_dot.gif"/>" width="15" height="12" />
								</td>
								<td>
									当前位置：
									<c:if test="${'01' eq type }"><font color="#003399">周报详细信息</font></c:if>
									<c:if test="${'02' eq type }"><font color="#003399">月报详细信息</font></c:if>
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td background="" class="leftbg">
						<table width="98%" border="0" cellspacing="0" cellpadding="0"
							align="center" bgcolor="#FFFFFF">
							<tr>
								<td width="20%" valign="top">
									<div style="margin-left: 20px; margin-top: 5px; margin-bottom: 5px; margin-right: 20px">
										<button id="showGraphBtn" type="button"
											onclick="subNoValidateForm(document.forms[0],'flowWeekReport_toAdd.action?reqId=${reqId}&type=${type}');"
											style="margin-right: 6px">
											<c:if test="${'01' eq type }">填写周报</c:if>
											<c:if test="${'02' eq type }">填写月报</c:if>
										</button>
										<button id="showGraphBtn" type="button"
											onclick="Echoice.popCenter('flowTaskCommon_printInstGraph.action?procinstId=${businessRequest.procinstId}',800,600)"
											style="margin-right: 6px">
											轨迹
										</button>
										<button id="backHistoryBtn" type="button"
											onclick="javascript:history.go(-1);"
											style="margin-right: 6px">
											返回
										</button>
									</div>
									<table width="96%" border="0" cellspacing="0" cellpadding="0"
										align="center" bgcolor="#FFFFFF">
										<tr>
											<td valign="top" align="center">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td background="<s:url value="/images/catalog_manage_bbs_3.gif"/>"
															colspan="4">
															<span style="margin-top: 0px; margin-left: 14px">
																<img src="<s:url value="/images/catalog_manage_12.gif"/>" width=13
																	height=13 alt=""> </span>
															<strong>基本信息</strong>
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																名&nbsp;&nbsp;&nbsp;&nbsp;称：
															</div>
														</td>
														<td colspan="3">
															${businessRequest.name}
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																发 起 人：
															</div>
														</td>
														<td width="36%">
															${businessRequest.startPersonObj.name}
														</td>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																发起部门：
															</div>
														</td>
														<td width="36%">
															${businessRequest.startDeptObj.fullName}
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																需求单号：
															</div>
														</td>
														<td>
															${businessRequest.reqCode}
														</td>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2"></div>
														</td>
														<td>
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																计划完成时间：
															</div>
														</td>
														<td>
															<fmt:formatDate value="${businessRequest.planTime}" pattern="yyyy年MM月dd日"/>
															<s:date name="businessRequest.planTime" format="yyyy年MM月dd日" />
														</td>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																发起时间：
															</div>
														</td>
														<td width="36%">
															<fmt:formatDate value="${businessRequest.begin}" pattern="yyyy年MM月dd日"/>
															<s:date name="businessRequest.begin" format="yyyy年MM月dd日" />
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																产品经理：
															</div>
														</td>
														<td width="36%">
															${businessRequest.prodPerson.name}
														</td>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																产品部门：
															</div>
														</td>
														<td>
															${businessRequest.prodDept.fullName}
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA" width="14%">
															<div align="right" class="STYLE2">
																需求类别：
															</div>
														</td>
														<td width="36%">
															${businessRequest.type}
														</td>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																重要性：
															</div>
														</td>
														<td>
															${businessRequest.importance }
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																内&nbsp;&nbsp;&nbsp;&nbsp;容：
															</div>
														</td>
														<td colspan="3" style="height: 60px">
															${businessRequest.content}

														</td>
													</tr>
													
												</table>

												<table width="100%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td background="<s:url value="/images/catalog_manage_bbs_3.gif"/>"
															colspan="4">
															<span style="margin-top: 0px; margin-left: 14px"><img
																	src="<s:url value="/images/catalog_manage_12.gif"/>" width="13"
																	height="13" alt=""> </span>
															<strong>
																<c:if test="${'01' eq type }">周报信息</c:if>
																<c:if test="${'02' eq type }">月报信息</c:if>
															</strong>
														</td>
													</tr>
													<tr><td>
													<c:forEach var="report" items="${reprotList}">
													<table width="100%" border="0" cellspacing="0"
													cellpadding="7" align="center" class=tablecolor2>
													<tr>
														<td bgcolor="D6E3FA"  width="14%">
															<div align="right" class="STYLE2">
																填写时间：
															</div>
														</td>
														<td width="86%">${report.operateTime}</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA"  width="14%">
															<div align="right" class="STYLE2">
																完成情况：
															</div>
														</td>
														<td width="36%">
															${report.operateInfo}
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																问题及协助事项：
															</div>
														</td>
														<td width="86%">
															${report.helpItem}
														</td>
													</tr>
													<tr>
														<td bgcolor="D6E3FA">
															<div align="right" class="STYLE2">
																下一阶段工作安排：
															</div>
														</td>
														<td  width="86%">
															${report.nextWork}
														</td>
													</tr>
													</table>
													<br>
													</c:forEach>
													</td></tr>
												</table>

											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>

</html>

